<?php if (!defined('THINK_PATH')) exit();?><div class="easyui-panel"
     data-options="fit:true,title:'<?php echo ($currentpos); ?>',border:false">
    <script type="text/javascript">
        $(function(){
            $('#pushSubmit').click(function(){$('#pushForm').submit()});
            $.formValidator.initConfig({formID:"pushForm",theme:'App',onSuccess:pushInfoSave,inIframe:true});
        })
        function pushInfoSave(){
            $.post('<?php echo U('Spread/index');?>', $("#pushForm").serialize(), function(data){
                if(!data.status){
                    $.messager.alert('提示信息', data.info, 'error');
                }else{
                    $.messager.alert('提示信息', data.info, 'info');
                }
            })
        }
    </script>
    <form id="pushForm" style="font-size: 13px">
        <table cellspacing="10" style="border: 1px solid #ccc; width: 500px;">
            <tr>
                <td>邀请好友短信内容：</td>
            </tr>
            <tr>
                <td>
                    <textarea name="content" id="" cols="30" rows="10"><?php echo ($content); ?></textarea>
                </td>
            </tr>



            <tr>
                <td colspan="2" align="left">
                    <a id="pushSubmit" class="easyui-linkbutton" style="width: 50px;">提交</a>
                </td>
            </tr>
        </table>
    </form>
</div>